ExternalFilesInMediaLibrary\Services\Youtube A

Total Complexity 60
Dependencies 8
Dependents 0
Total lines 669
Lines of code 274
Logical lines of code 161
Comment lines 280
Methods 24
Properties 5

Methods 24

Method Rating Maintainability Complexity Lines of code
import_videos_from_channel_by_import_obj()
A
46 9 38
get_directory_listing()
S
46 6 38
render_video_block()
S
49 6 32
do_login()
S
53 4 24
render_video_shortcode()
S
55 4 20
get_embed_url()
S
59 4 15
get_video_data()
S
67 3 9
get_video_shortcode()
S
64 3 10
get_instance()
S
72 2 6
do_not_check_content_type()
S
71 2 6
allow_http_states()
S
69 2 7
prevent_proxied_url()
S
71 2 6
is_youtube_channel()
S
78 2 3
init()
S
59 1 13
get_global_actions()
S
64 1 11
get_actions()
S
68 1 8
__construct()
S
98 1 1
__clone()
S
98 1 1
is_youtube_video()
S
79 1 3
get_basic_url_info_for_video()
S
64 1 10
add_option_for_local_import()
S
73 1 4
add_directory_listing()
S
77 1 4
activation()
S
98 1 1
get_api_url()
S
75 1 4